<?php
echo "计算输入的两个整数的加减乘除的结果\n";
echo "请输入两个整数，用英文逗号分隔";
fscanf(STDIN,"%d,%d",$a,$b);
$he=$a+$b;
$cha=$a-$b;
$cheng=$a*$b;
$chu=$a/$b;
echo "$a+$b=$he\n";
echo "$a-$b=$cha\n";
echo "$a*$b=$cheng\n";
echo "$a/$b=$chu\n";